import React from 'react'
import { Toast, NavBar, Cell, Button } from 'react-vant';
import { Link,useNavigate  } from 'react-router-dom';
export default function Zhi() {
    const navigate = useNavigate();
    const handleGoBack = () => {
        navigate(-1); // 返回上一页
    };
    
    return (
        <div>  <NavBar
            title="绑定支付宝"
            leftText=""
            onClickLeft={() => handleGoBack()}
            className="navBarWithWhiteText"
            border={false}
        />
        <p style={{marginLeft:"15px"}}>支付宝授权*</p>
        <Link to="/zhi"> <Cell title="请跳转至支付宝进行授权" isLink /></Link>
        <hr style={{width:"90%"}}/>
        <Button type='primary' className='W-btn'>保存</Button>
        </div>
    )
}
